import $axios from "@/utils/request.js";

export function getEntityPropertyConfigList(searchParam) {
    return $axios({
        url: `/api/entity/property/config/list`,
        method: 'get',
        params: searchParam
    });
}

export function generateEntityCode(data) {
    return $axios({
        url: `/api/entity/property/config/generateCode`,
        method: 'post',
        data
    });
}

export function synchronizationData(dsName) {
    return $axios({
        url: `/api/entity/property/config/synchronization?dsName=${dsName}`,
        method: 'get',
    });
}